package com.exam.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.exam.demo.entity.Paper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 功能描述
 *
 * @author yxj30
 * @date 2022/03/16  19:31
 */
@Mapper
public interface PaperMapper extends BaseMapper<Paper> {
//    @Select("select * from paper where paper_name like #{paper_name}")
    Page<Paper> findPage(@Param("objectPage") Page<Paper> objectPage, @Param("paper_name") String paperName,@Param("teacher_id") String teacherId);
}
